You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxExpression Class > TMtxExpression Methods > TMtxExpression.VarToolTip Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxExpression.VarToolTip Method

Returns Tool-Tip or the Hint string to be displayed for the variable with aName.

Syntax
C#
Visual Basic
public string VarToolTip([In] string aName, [In] TValueRec a);

The value of the variable needs to be passed as param "a" and the name of the variable as "aName". Typically one would write: 

 

aVal := expr.VarByName[aName]; if Assigned(aVal) then //var was found begin ShowHint := True; Hint := expr.VarToolTip(aVal, aName); end ShowHint := False;

 

The returned string will contain the name of the variable, its type and the value(s).

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!